home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
TEMP
/
GNU
/
bison
/
DeclSummar
< prev
next >
Wrap
Text File
|
1995-06-28
|
2KB
|
65 lines
Decl Summary
Previous: <Pure Decl=>PureDecl> * Next: <Multiple Parsers=>MultiplePa> * Up: <Declarations=>Declaratio>
#Wrap on
{fH4}Bison Declaration Summary{f}
Here is a summary of all Bison declarations:
#Indent +4
#Indent
{fCode}%union{f}
#Indent +4
Declare the collection of data types that semantic values may have
(\*Note <Union Decl=>UnionDecl>: The Collection of Value Types).
#Indent
{fCode}%token{f}
#Indent +4
Declare a terminal symbol (token type name) with no precedence
or associativity specified (\*Note <Token Decl=>TokenDecl>: Token Type Names).
#Indent
{fCode}%right{f}
#Indent +4
Declare a terminal symbol (token type name) that is right-associative
(\*Note <Precedence Decl=>Precedence>: Operator Precedence).
#Indent
{fCode}%left{f}
#Indent +4
Declare a terminal symbol (token type name) that is left-associative
(\*Note <Precedence Decl=>Precedence>: Operator Precedence).
#Indent
{fCode}%nonassoc{f}
#Indent +4
Declare a terminal symbol (token type name) that is nonassociative
(using it in a way that would be associative is a syntax error)
(\*Note <Precedence Decl=>Precedence>: Operator Precedence).
#Indent
{fCode}%type{f}
#Indent +4
Declare the type of semantic values for a nonterminal symbol
(\*Note <Type Decl=>TypeDecl>: Nonterminal Symbols).
#Indent
{fCode}%start{f}
#Indent +4
Specify the grammar's start symbol (\*Note <Start Decl=>StartDecl>: The Start-Symbol).
#Indent
{fCode}%expect{f}
#Indent +4
Declare the expected number of shift-reduce conflicts
(\*Note <Expect Decl=>ExpectDecl>: Suppressing Conflict Warnings).
#Indent
{fCode}%pure\_parser{f}
#Indent +4
Request a pure (reentrant) parser program (\*Note <Pure Decl=>PureDecl>: A Pure (Reentrant) Parser).
#Indent